Provide session cookie to DomPDF for private file access.
This patch adds the current user's session cookie to the HTTP context provided to DomPDF, allowing it to access images stored in private file storage when generating the PDF.
This patch adds the current user's session cookie to the HTTP context provided to DomPDF, allowing it to access images stored in private file storage when generating the PDF.