[PATCH 1/2] vpnmain.cgi: Fix for 2nd part of bug10595