fix bug where cookie hash is nil in rack request