Auth: Add user's groups to user object

When authorizing a user, get the details
(i.e. name) of the groups the user is in,
for easier handling later.