Add test for case if loading credentials from storage has an error
Merge pull request #304 from hbeeken/test-credentials

Add test for case if loading credentials from storage has an error