replace google-oauth package by google-oauth-offline package for enabling offline connecting mode