I went into lib/client.js to see that I can pass basic authentication parameters when creating a client (starting on line 56 at https://github.com/baalexander/node-xmlrpc/blob/master/lib/client.js).
I think it would be useful for others if this information was on the readme!
Thanks 😄