Fixed yet another issue where local clients would be denied even if
HTTPS was off.