! Fix redirect login not supported via $.ajax