Fix forced SSL issue