SharedGroup fix & rootviewcontroller dismissal fix

SharedGroup fix & rootviewcontroller dismissal fix
Merge pull request #152 from AzureAD/pkeyauth-fix-and-updates

SharedGroup fix & rootviewcontroller dismissal fix