When you access a page that is login protected and you
are redirected to the login page, there needs to be a
way to return to the page you were attempting to visit
before you logged in.
More generally, the original URL (complete with query
string information) should be saved and restored once
login is successful.