Added tests for PasswordCredential provider