[imp] Add method="upgrade" for plugins (authentication, captcha and
content) (Fixes #5403 )