settings: fix angular error on logout 2