Fix test failure if Test::PostgreSQL is installed but not working
release 0.11020
Skip HTML tests if CGI is not installed (RT#98027)

It's being evicted from core in 5.22.