When HTTPS connection is tunneled through HTTP proxy, the client sends HTTP "CONNECT" request as a first message.
If the gateway tries to reply with UserCheck redirect to such message, the result will be: the "Unreachable" message in browser. This happen cause most browsers are not supporting redirect reply on CONNECT request.