Adding persistent flag to authorization code