in reply to Investigating connection reset with LWP to an https site
I recommend you login via browser with Javascript disabled and check all params sended by your browser to the target site (via Firefox's HTTPFox or Opera's Dragonfly).
Next you just need to send all these params from your script (Referer, cursor click x and y etc.)
Thanks.
Roman
In Section
Seekers of Perl Wisdom