Fix LDAP group modification changes via the CLI.

The XML-RPC interface for group modification didn't consider the special
restrictions for LDAP groups. This patch adds that.

Bug: 972255