Base methods to AuthenticationRegistry to have it more flexible
Initial support for OAuth2 registration flow