[ticket/207] Use different template var for redirect and fix portal link