Fix bug with group ID not being set when creating user