Allow passing username/password via stdin

This addition allows passing a username/password combination via stdin. The password will be masked during entry.