Fixes #3844 : handle gid/uid in user management

http://www.rudder-project.org/redmine/issues/3844