Hello,
As you are using an URL to get the access, you create a new PHP session; that's how PHP (and almost any other language) works when you access a server using a function such as as file_get_contents.
We recommend you to get the HTML as a string using PHP Curl or an URL that returns the HTML using a REST API; and then add this HTML to embedHTML.
Regards.