Fixes and support to request a metarefresh in the IdP