Add an XMLRPC API for setting the groups a user belongs to
This adds an endpoint to set (exactly) the groups to which a user belongs.
The latter is required to test this in a docker compose environment with authz-mediator.
This is part of AT7958.
The upstream MR is lava!1854