Add SmartCredentialsProvider test

An early attempt to more deeply test authentication
and credentials in the plugin.