Trigger the use of ajaxSubmit on submitting (instead of binding the form) because binding the form caused redirects to authentication.json several times