in reply to New with WWW:Mechanize and Credentials issue
Have you tried the most simple example from the Cookbook?
$mech->credentials( $username => $password ); $mech->get( 'http://mylink/' ); [download]
Note that the credentials are set up before the get().