Update demo code, fixes exception in undefined oauth_proxy