Added OnEnter directive and used on password field to connect to server

Adds OnEnter directive and allows user to hit enter after typing server password to connect.