s3-util_sid: use shared dom_sid_compare_auth and dom_sid_equal_X functions.