Adds a KeyAuthorizationRepository