Fix broken behavior when removing all auxiliary groups from a user
(e.g. 'groups=' in the user module).