Copied from Slack Convo
the authenticate hook cannot function as is when the db requires query params to correctly lookup the user entity during authentication, which is a common case for hosted mongodb databases which require a shard-key (specifically when using Azure CosmosDB)
Expected
Using authenticate("JWT") hook successfully authenticates user.
Actual
Authenticate hook fails with db error, No record found for id ***.