Fix error about insecure content if on HTTPS