Add AjaxMiddlewareRedirect support