Script useable by the mod_authnz_external apache2 module