upgrading to latest google apis code and using FileCredentialStore to persist token for reuse upon server restart