in reply to Login to new bugzilla

Perhaps you may want to dump the HTML of the page to be certain of your field names?

Also, just because it reported the error on field 'Bugzilla_password', that doesn't mean that it accepted 'Bugzilla_login'. Since you're passing set_fields a hash, there are no guarantees about the order that set_fields will get them out of the hash.

...roboticus