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

Fixed #179