This can be done with a method on `GTCredentialProvider` now.