curl might erroneously pass on credentials for a first proxy to a second proxy.
This can happen when the following conditions are true:
http://), curl is asked to follow
a redirect to a URL using another scheme (say https://), accessed using a
second, different, proxy