Added a flag to opts to turn off redirects for only RESTFul APIs
services.  Fixed some issues passing through authentication errors from the SSO.