Also change the unit test to HTTPS accordingly.