fixed HTTPS testing to succeed distcheck