m. Cleanup/refactor of auth code.
Determine which user key field to search based on provider data.