Fix authorization in task form.