Add client_id and session to API options.