fix login bug

it looks like something in how we now route code for login changed the
path, such that new users now get a bug on /profile instead of an
automatic redirect to update_profile when they nave no profile yet.
Fixed that with 1 line change.