Requests made without authenticating are not formed properly

setOptions is not called when making a request without first authenticating which results in requests being sent to localhost:80