fix oauth example, resolves #7