Test environment does not have access control enabled, thus no user is available. Fixes unit tests