fix password caching on ios