Client can use a token and a filter from a server

#422 (closed) was about the server passing a token and a filter to the client through the "promisor-remote" protocol.

But now we want to be able to store and use the token and the filter on the client side.