Automatically register AuthenticationService