Handle login errors

Handle login errors by displaying a message and clearing the
username/password field (and local storage).

Signed-off-by: Jeff Godin <jgodin@tadl.org>