Thanks for your advice. Had the same problem but there was no apps.json under the path.
I found hosts.json and I think it's the same think. The file saved my user and the token for GitHub CoPilot. I deleted the file and voila I can finally sign in to copilot.