Refactored HTTP auth and added auth params to ProxyConnector

resolves #84