Added support for submit when pressing Enter in login form.

References #46.