Fixed incorrect https redirect.