Added a proper Angular logout.