Implement ENTER handler for login dialog