Fix login problem where the login link was not pointing to the correct url

use require instead of WDN

In some cases WDN.jQuery(function() { was not firing soon enough