CMS-4422 Resolve user memberships during authentication.
Query by email and username in authentication.
CMS-4422 Resolve user memberships during authentication.
Integration tests for authentication.