Upgraded the OAuth2 library to v1.0 and updated the client example
Updated the OAuth 2 Server example to use v1.0 of the library