title: A business network card has not been specified
body: <p>I have been developing a Hyperledger Composer Chaincode. One of the feature that I need to develop is the enabling of multi user and authentication of the composer rest server. I created a participant thru command line same as the sample code below:</p>
  
  <pre><code>composer identity issue --card admin@tutorial-network -f usr001@tutorial-network.card -u usr001 -a "resource:org.acme.biznet.Trader#usr001" -x true
  </code></pre>
  
  <p>The output of that line is a .card file for the identity. And then I successfullt imported the wallet card by calling POST request to api/wallet/import. However upon authentication of the user I created the response that I get is below:</p>
  
  <pre><code>{"error":{"statusCode":500,"name":"Error","message":"A business network card has not been specified","stack":"Error: A business network card has not been specified\
  </code></pre>
  
  <p>I found this post from stack overflow and it says that it only happens when the composer don't have the persistent datasource:
  <a href="https://stackoverflow.com/questions/47319461/hyperledger-composer-error-identity-has-not-been-registered-once-issued">Hyperledger Composer Error Identity has not been registered once issued</a></p>
  
  <p>In our case we are using the cloudant as our database, so I don't know what I am doing wrong in my side. below is my configuration for COMPOSER_DATASOURCES:</p>
  
  <pre><code>COMPOSER_DATASOURCES='{
    "db": {
      "name": "db",
      "connector": "cloudant",
      "username": "myusername",
      "password": "mypassword",
      "host": "myhost",
      "port": 443,
      "url": "myurl",
      "database": "composer-wallets"
    }
  }'
  </code></pre>