*8843* Add cookie domain to session

Forward porting 8843 to master