Update oauth2 gem to 1.0.0

Issue related #231