Update AccessDeniedException kernel event handler to stop redirect loop