Morning @Teodor! or actually afternoon for you, LOL
Here is the screenshot of the errors in the Console.
The query.r. expression is filled in from the Security Provider Enforcer if the user has been redirected from a specific page as discussed in Redirect to intended URL after login. If the user has not visited a page prior to coming to the login page, then the default should be the dashboard page.