Upgraded examples to match latest API

Moved from `:config-auth` to `:credential-fn`. Fixes #4 and #7.