update test case for AuthenticationService