simplify the login methods; only interactive shell requires a login;
only the interactive shell will pull credentials from the local
netrc-like file.