HTTPS fix for dynamically loaded pages (apphubs)