This turns off https. The changes below enable https on a few tests.