[ticket/179] Correctly redirect to app.php/portal using styleswitcher

Fixed #179
Merge pull request #180 from marc1706/ticket/179

[ticket/179] Correctly redirect to app.php/portal using styleswitcher