Remove unneeded methods and properties
Test CredentialsToPrincipalResolver and AuthenticationHandler