'C{QueryProtocol} uses the C{base64.b64encode} function to encode user
name and password in the I{Authorization} header, so that it doesn\'t
embed new lines when using long inputs.'

def test_longPassword(self):

    longPassword = (self.password * 40)
    p = xmlrpc.Proxy(networkString(('http://127.0.0.1:%d/' % (self.port,))), self.user, longPassword)
    d = p.callRemote('authinfo')
    d.addCallback(self.assertEqual, [self.user, longPassword])
    return d
