Fixed User import and lookup for ApiKeyAuthentication