Allow using credentials from netrc

New pull request with only the **netrc** change. Hope this looks good. Sorry about the delay.