HBSD: try to fix group membership checking

this part of code needs more work...

not yet tested

github-issue: #71
Signed-off-by: Oliver Pinter <oliver.pntr@gmail.com>