Re-init plugins when changing to task (#7459)
When roundcube initializes on a different task, plugins for just the
new task do not get initialized, and hence do not get executed when
the exec_hook call is made
One example is if check_auth fails, the login page will render,
but the plugins with 'login' task will not be fired