Fix login issues with no netrc file

Fixes #110.