Bug 1091261 - Implement login 3.0

we have jquery already loaded, no reason to use vanilla JS here.