Fix: 9.3 BETA + 9.1.1 config => WebGUI authentication failure

Make Django rc.d script aware of an invalid or missing certificate, even
when https gui protocol is set.

Ticket: #7049