Fixes KeyAuthorizationRepository's getAuthKeyByApiKeyAndUser function

This will learn me to not write tests, goddamn