Support logging out via Angular. [Finish #54169172]
Add informative responses on sign in failure and success.
Update gui on sign in and sign out. [Finish #54256474 #54169172]