Add userId/providerId index to profile repository.