basic authentication and cookie handling in an xmlrpc server and client [1]