fix for issue#164

fix for issue#164
Merge pull request #165 from AzureAD/osx-pkeyauth-merge

fix for issue#164