When running the tests a user is not logged in so C4::Context->userenv