CMS-4405 Store group memberships
Query user memberships on authentication.