Fix more session problems in controller tests, also make tests aware of the site alias
Merge branch 'hotfix/fix-all-tests'