Version of google oauth client with minor modifications to handle long-running oauth sessions as implemented by xero.com