Updating `AuthenticationProviderService` to use `AuthenticationProviderQueries`