title: server returned error on SASL authentication step: Authentication failed
body: <p>The following is my MongoDB connection dial from GoLang. But it's returning a panic "<em>server returned error on SASL authentication step: Authentication failed.</em>". My username, password, hostAddrs and dbName are correct. What am I missing here?</p>
  
  <pre><code>dbName: = os.Getenv("ENV_DBNAME")
  userName: = os.Getenv("ENV_DBUSER")
  password: = os.Getenv("ENV_DBPASS")
  dbHost: = os.Getenv("ENV_DBHOST")
  mongoDialInfo: = &amp; mgo.DialInfo {
   Addrs: [] string {
    dbHost
   },
   Database: dbName,
   Username: userName,
   Password: password,
   Timeout: 60 * time.Second,
  }
  sess, err: = mgo.DialWithInfo(mongoDialInfo)
  if (err != nil) {
   panic(err)
  
  }
  </code></pre>