state: add account switch/remove endpoints and login flow
authored by
oyster.cafe
and committed by
tangled.org
cea9f509
d47f275f