Rework login. Don't store credentials in .netrc.

showing the protocol (http/https) is important. I don't see why it needs to be hidden from the user.