The problem here will be that your PostLogin node returns 1 item, but your GetWorkflowById node receives multiple items. So, you probably want to use an expression like {{ $("PostLogin").first().json["headers"]["set-cookie"] }} to make sure to always reference the first (and only) item from your PostLogin node.
You might want to check out this post for a slightly longer explanation: