OPENAM-7295 Correctly escape realm URI path element passed to XUI
AME-7286 CR-7468 Redirect from tasks to XUI
Fix for AME-202 - review: CR-802