s3-passdb: Fix negative SID->uid/gid cache handling. (bug #8952)