Fixes roster group sharing when using the LDAP provider for users and groups, by reverting part of an earlier fix (OF-779).