Adds cookies as a config param