Added support for allowing [enter] to submit login immediately.

References #668.