login_views.py: ensure a single slash for redirect url

we do exactly the same as before, but in a cleaner way