Test https redirection