Automatically logout when an unrecoverable authentication error occurs.
Preserve LoginActivity form values. Repopulate hostname, and anonymous/cleartext checkboxes.
This should fix the issues raised in #154.