fix #2247

We have to pass urllib3 the url without the authentication information,
else it will be parsed by httplib as a netloc and included in the request line
and Host header
remove unused import
Merge pull request #2249 from t-8ch/fix_2247

fix #2247