Add option to specify a URL for backend requests

Allows you to redirect users to one hostname for login while using
another hostname for backend requests such as token authorization
and profile requests.

Handy for when your node and drupal servers are behind a firewall and
need to refer to each other by different hostnames than those used externally.