Patched the login page to work with the new version of Foundation.