It is better to use logger compared to raise exceptions
Merge pull request #4 from lovelle/master

Issue log messages instead of exceptions for invalid credentials.