Logging in while having an expired token shows an unnecessary error
<!--- Provide a general summary of the issue in the Title above -->
## Description
<!--- Provide a more detailed introduction to the issue itself, and why you consider it to be a bug -->
The logout function called during the login via cli shouldn't throw an error if the logout fails when using an invalid token.
issue