Use the ui cookie format for the im as well.