I know this is an old thread, but for anyone who ends up here I wanted to note that if you are using Confluence Cloud, access with OAUTH tokens does not work with XML-RPC. You have to use REST.