[TIMOB-16520] Added better validation around iOS keychains.
Merge pull request #5687 from cb1kenobi/timob-16520

[TIMOB-16520] Added better validation around iOS keychains.