qcg: custom grant_id support