Merge pull request #145 from akkie/master

Implicit application was not in scope
Tests for CredentialsProvider