Support assigning custom og roles

#4636

Before:
After setting a vsite to use custom roles and permissions instead of the default ones, it is impossible to assign roles to members. No error, just doesn't work.

After:
You can now assign og roles to members, even if the roles are custom.