Fix for the refresh token loss with the Google adapter

This fixes the refresh token loss issue when OAuth2 is used with the Google adapter.

I'm creating an issue with more information.