s3-passdb: Fix negative SID->uid/gid/both cache handling