security-manager: fix privilege-to-gid mapping tests