Python client: bugfix, translations

- Handle bad tokens properly during login
- Translated error messages