JSON API authorization: Fix error comparing signatures when the WordPres...

...s installation is using site_url filters.