fixes #5241 - Add support for external user groups.