From your POD examples of using your undocumented credentials method:
Invalid # of args for overridden credentials()
WWW::Mechanize claims to still support the four-argument form, but
apparently doesn't.
Would you consider updating your code to take the two argument form,
or to produce a better error method, or document what is expected?
Thanks
lee