Add more trivial tests of SmartCredentialsProvider

Studying credentials by writing tests.