Fix unit test for SSL redirect
clean up unit_test: SSL related TODOs are done