fix(client): When receiving 401 from server do full logout

- after 401 and redirect to loging, logout is called
- logout controller so cookie remove is not needed before redirect

Closes #588