title: Issues with mongoRestore [listCollections requires authentication]
body: <p>I am trying to restore a MongoDB on an EC2 instance. I am currently running Mongo 4.0. I am restoring a .tgz, which I then unzip, and it contains a directory with all of my files. I previously used this command:</p>
  
  <pre><code>sudo mongorestore --db newDB mongoDump-2018-07-25-0200/viboDB/
  </code></pre>
  
  <p>Now that I am trying to update our database, I am getting the following error. </p>
  
  <pre><code>building a list of collections to restore from mongoDump-2018-07-25/0200 dir
  Failed: viboBI2.Songs: error reading database: command listCollections requires authentication
  </code></pre>
  
  <p>I have logged into the mongo shell, and used db.auth() to authenticate as an admin. I have tried restarting mongo as well. Any help would be appreciated!</p>