Ask to log in to update certificate if needed.

ProviderAPI from debug build uses an invalid certificate the first time
it tries to download a new cert, just to test this.
Remove the testing code from debug ProviderAPI.