Add handlers to login name and change display name entry fields to
recognize and handle pressing enter.

Fixes #2472.