adds clientconfig cookie