Bugfix: login was losing query arguments