fixed deadlocks by setting cookie directly on headers instead of creating a response
fixed deadlocks by setting cookie directly on headers instead of creating a response

silvermind/rack-affiliates,alexlevin/rack-affiliates