Updated to support the new CSRF token in the login page