fix for issue #157

fix for issue #157
Merge pull request #158 from AzureAD/osx-pkeyauth-merge

fix for issue #157