allow multiple UIs for providing login credentials

Current implementation requiring user to enter username and
password is the only one supported currently.

Next step is to allow login via a "preauthorized" username,
e.g., when login authorization comes from a trusted
proxy server.