Make it easier to update credentials in import_url
<!--IssueSummary start--> <details> <summary> Everyone can contribute. [Help move this issue forward](https://handbook.gitlab.com/handbook/marketing/developer-relations/contributor-success/community-contributors-workflows/#contributor-links) while earning points, leveling up and collecting rewards. </summary> - [Work on this issue](https://contributors.gitlab.com/manage-issue?action=work&projectId=278964&issueIid=327555) - [Close this issue](https://contributors.gitlab.com/manage-issue?action=close&projectId=278964&issueIid=327555) </details> <!--IssueSummary end--> GitHub is changing the format of their OAuth2 and personal access tokens: https://github.blog/2021-04-05-behind-githubs-new-authentication-token-formats/ Right now `import_url` may store legacy temporary OAuth2 tokens or the older personal access tokens. We don't have a way to refresh or update these tokens easily at the moment, even with the API (https://gitlab.com/gitlab-org/gitlab/-/issues/2549). Currently the only way to update this is to delete the mirror and recreate it. This would be useful in general for other pull/push mirrors, especially since it's easy to get the URL wrong the first time.
issue