[lib] Add hook to log out on invalid CSAT
Summary:
Address ENG-9528.
Added a hook that performs authoritative keyserver and visual logout. It should be called when Identity is already logged out.
Test Plan: Tested together with the next diff where it is used
Reviewers: kamil, varun, ashoat
Reviewed By: ashoat
Subscribers: ashoat, tomek
Differential Revision: https://phab.comm.dev/D13955