added basic auth support
small typeo fix in example
more tiny fixes to SafeActions
updated to hspec2