[PATCH 3/4] redmine #3452: verify value of template to render in realms and provider_realms controller