Clean up LDAP login

Validate that username and password were entered.  Handle errors more
cleanly and with nice user messages.  Add translation for connection
issue.

Fixes #645