Fix logout bug when the authToken is removed from the back-end