Adding supporting changes for the removal of the CGI/Perl functionality (see sentora-core issue #74,  https://github.com/sentora/sentora-core/issues/74)