The fix for issue #1666 breaks with urls that include a username and password. Here's an illustration of how it breaks:
$ easy_install -i https://user:password@pypi.example.org/simple/install example
Searching for example
Reading https://user:password@pypi.example.org/simple/install/example/
Download error on https://user:password@pypi.example.org/simple/install/example/: nonnumeric port: 'password@pypi.example.org' -- Some packages may not be found!