Fix handling of urlencoded user and password in proxy urls, refs composer/composer#2339