Ensure master password isn't lost after ending editline context.