Fix for google OAuth authentication