Helper to convert existing username-password credentials or directly login+password to a
GitHub personal token.
This helper doesn't store any entered data, but only registers a new token with all scopes needed to plugin.
After token registration, it will be stored as «Secret text» credentials with domain requirements corresponding to
given API URL. It will be available after refreshing the Global Confirmation page.