I had similar issue on my Mac with PyCharm and and finally found the solution. Default user data is stored in the following file: /Users/<your_user_name>/.config/github-copilot/apps.json
Open the file and remove saved entry. You will need to re-authenticate again.