Fix bug where login page redirects to wrong place

This is part 2 -- there were more places that need absolute URLs, which
I missed in my previous commit.