Fixed insecure content issues when using https.