Use --netrc with path. If no path is given or --n, -c and -u are omitted
a default netrc path is tried ($HOME/.netrc on *nix* or
%USERPROFILE%\_netrc on windows).