public static function getAuthPassword()
    {
        $result = null;
        if (isset($_SERVER['PHP_AUTH_PW'])) {
            $result = $_SERVER['PHP_AUTH_PW'];
        }
        if (trim($result) == '') {
            $result = null;
        }
        return $result;
    }