Merge "Make IME handling deterministic in CryptKeeper"