Fixed URL Problem after login

the login with previousUrl seemed to never work at all my projects
for me, this seems to solve the issue and after login i get to the correct location, instead of alway having the pass[0] error