How to attach cookie to request?

credentials used to work?