fix /metadata handler

This is the code needed to generate Metadata for this IdP