When the user clicks logout, but the server does not respond with a success code, the logout might have failed and the session has not been cleared on the server. This should be made transparent to the user.
- If the user clicks logout and the response code is not success, the error message is displayed
- Error code Unauthorized should not raise an error to the user. This might happen if the user is already logged out, e.g. by session timeout.