Add a with-auth macro for convenience.

This macro does not displace the ability to provide authentication credentials directly to the function. Also, function-specific authentication credentials win out over the ones provided by the macro.