Secure access to SSL based pages while sharing a common session between HTTP and HTTPS