in reply to Need to download the URL as html with it credentials
See CONTENT-HANDLING METHODS in WWW::Mechanize.