Add tests for DefaultAuthenticationService