login with enter key, fixes #5