title: How to handle JWT authentication with RxDB?
body: <p>I have a local RxDB database and I want to connect it with CouchDB. Everything seems to works fine except for authentication. I have no idea how to add it differently then inserting credentials in database url: </p>
  
  <pre><code>database.tasks.sync({
          remote: `http://${username}:${pass}@127.0.0.1:5984/tododb`,
        });
  </code></pre>
  
  <p>I would like to use JWT auth but can't find how to add a token to sync request. I found only some solutions for PouchDB (pouchdb-authentication plugin) but can't get it working with RxDB.</p>