sending basic only if proxy is of basic auth