fix angular bootloop on logout