Preventing system users being removed from system groups

additional changes to PR https://github.com/openmicroscopy/openmicroscopy/pull/565