This should be changed to accept a host and when we use the getCookie method in the request pass in `this.__baseUrl`.