Escaped single quote in authorization control queries