Extend OAuth adapter for authorization code grant.