Add more general support for passing credentials to curl
Merge remote-tracking branch 'upstream/master'