Fix examples for new oauth and client libraries