Added unit tests for AuthService. All unit tests pass.