Added cookie config on listeners