in reply to WWW::Mechanize login problems

I don't think you should encode ampersands as &, that's only necessary when they are embedded in HTML code.