HTTPSRedirect String Comparison does not match