[web] Use dispatchActionPromise when logging out
Summary:
Instead of calling server directly, we need to use dispatchActionPromise function, so that relevant redux actions are dispatched.
Fixes https://linear.app/comm/issue/ENG-1604/clean-enabled-apps-on-logout
Test Plan: Log out and check if logout success action was dispatched.
Reviewers: jacek, atul, ashoat
Reviewed By: ashoat
Subscribers: ashoat, adrian, abosh
Differential Revision: https://phab.comm.dev/D4847