Client: Remember last attempted URL

If a client attempts to visit a URL but
the server forces them to sign in, the
client remembers the attempted URL and
goes there upon successful signin.