Redirect back to authorized page after login

If a user is linked to a page that requires login they should be
redirected back to the intended page after login/signup.