acu75292 Add support for other RightScale endpoints.

We need to be able to support accounts that are hosted on non my.rightscale.com clusters.

When authenticating with user/pass we have to handle the 302 response from the API when authenticating and update client's base resource.

If the user has an existing cookie then we need to handle the redirect when the client makes a GET request on /api/session.