in reply to Unable to login to a secure webpage

Your site doesn't work for me now so don't know what's wrong with it. But you must check does it works with JavaScript disabled (in the browser)?

Also there is no need to use HTTP::Cookies because WWW::Mechanize using it by default. And of course you can use $mech->save_content() to save response content.