Logging in while having an expired token shows an unnecessary error

Description

The logout function called during the login via cli shouldn't throw an error if the logout fails when using an invalid token.