Change config defaults for cookies. (#1236)