Readded usage of netrc and superagent

Couldn't reproduce the problems mention on #374 
Closed #403