Add proper error message for invalid credentials. Also support error messages for connection and server errors.
Merge pull request #3 from matthiasplappert/matthias/error-message

Add proper error message for invalid credentials