Fix failure to start when not TLS certificate was given even if TLS was disabled.