Merge pull request #33 from kubes/master

Make authentication errors easier to debug.
Merge pull request #34 from kubes/master

Added example to show clearing state