Fix the broken integrations due the changes in the oauth2 package.

Change-Id: I4cea8fd2c5549670758b2cfbce9074e17ee61bef