Cleanup unused arguments

This commit cleans up some unused arguments in user and group
management, storing them in **kwargs. Warnings are logged when the
arguments are used. Fixes #6070.
Merge pull request #6093 from terminalmage/issue6070

Cleanup unused arguments