Fixing documentation formatting of Controller::renderTemplate().
Fixes #6128, fix opt-out iframe error (do not use renderTemplate since it will indirectly require the idSite query parameter). Includes new UI test.