Replaced SimpleAuthHandler with new version

This new version has cleaner code and does support the environment
variable HTTP_AUTHORIZATION for PHP processes running on CGI.