Prevent double submit of the form. Override beforeSend and xhrFields for login. Use recursive ampersand escaping in object constructor.