Dialog_user_password_cb() should not use VOIDP2INT, because the (void
*) argument was originally an (int *), not an int or long. This bug
makes the dialog always call its callback even when the user presses
the Cancel button. As a result it is futile to cancel the Basic
Authentication dialog: the page reloads and the dialog pops up again.
Patch attached.
Jeremy Henty