Fixed CGI auth script
Merge pull request #50 from cs198/fix-cgi-auth

Fixed CGI auth script