Fix compatibility with golang/oauth2 (cf: a568078)