shell: Keep the behavior consistent.

Make the behavior of input text in the "Add Server" tab is the same as the login screen.
Pressing Enter Key now in the "address" and "login" tabs are the same as clicking the button.