Fixes #75

Auth_provider for C* 1.2 is a function
that returns a dict of credentials.
Used a closure.