A thing that sprung to my mind recently is that we would need a standard password dialog for plugins to access, like the captcha dialog. As most services support password protection for download links, I think this would be another step towards making it easier to create better plugins. Instead of copying the XXXXPasswordUI class to every plugin we make, it would probably be better to implement something in the API.
Thoughts?