To log-out from an account:
Hover over the concerned app's icon
→ The sub-dock appears
Click on the gear icon in the top right corner of the sub-dock
→ You'll access the settings of your app with the list of all current logged accounts
Click on the "x" icon at the right of any account to remove it.
→ You can always re-add accounts later.