js: add focus event for login form

This is the keyboard "TAB" button version (as a user presses TAB to go
to the next input field) of the mouse click event.