Pass cookie data, fixes #43