tests: Add regression test for s3-passdb: Respect LOOKUP_NAME_GROUP flag in sid lookup.