Format userdata for simpleSamlPhp
Fancier error messages