Fixed a small issue with login.js.