in reply to LWP and j_security_check form-based login?
$req->content_type('application/x-www-form-urlencoded'); [download]