Clarify code contribution
Clear buffers before free-ing

This clears most buffers that may hold credentials at one point before
free()ing the memory.
Introduce lookup_groupbyuser test command

This command can be used to perform a lookup using getgrouplist() to
present a list of returned numeric group ids. This can be used to avoid
the additional lookups that are done with the id and groups commands.
Fix comment