Update `AppController::__shutdown()` to pass `$response`.