/login is cached, cannot use meta redirects on login
Inject external js after page load so it won't block the loading of the page.