Fixes: #2669 forceSSL doesn't work