Login ref ignored on beta
When opening an internal hyperlink such as https://beta.foodsharing.de/?page=bezirk&bid=1&sub=forum, a redirect to https://foodsharing.de/?page=login&ref=%2F%3Fpage%3Dbezirk%26bid%3D1%26sub%3Dforum%26tid%3D76265%26pid%3D423629 works, however after login the dashboard is opened instead.
There are a lot of different links where a redirect doesn't survive the login process.
Steps to reproduce
Open a private tab or log out, try and open e.g. https://beta.foodsharing.de/?page=bezirk&bid=1&sub=forum and log in.
What is the current bug behavior?
After login the Dashboard is opened.
What is the expected correct behavior?
The originally desired page should be loaded.
Relevant error messages and/or screenshots
It's only on beta, so it must have happened after 16f3614e.