After you have removed them, restart Thunderbird.
From the Thunderbird main window, select Tools and click Add-ons
After Thunderbird is restarted, select Work Online. Thunderbird will automatically install the sogo connector and other extensions and restart itself automatically.
Select Work Online and a popup message will appear for the SOGO Calendar and Address Book password. Make sure to tick the box for "Use Password Manager to remember this password"