These two lines should be moved to `onAccessApproved` when `desktop_id` is not rejected.