Adding unit test for credentials.clean
Merge pull request #268 from hbeeken/test-coverage

Adding unit test for credentials.clean