Hide the login dialog after clicking login so that the LOADING screen is
always visible in the cases where the loading may be slow.
Update javascript versions to v=3 to force javascript reload