Fixed an issue with the auth tests.