iOS: Fixed password storage on higher iOS versions