Enfrenté un error similar y agregué --authenticationDatabase
parámetro y funcionó mientras nos conectamos a un MongoDB remoto
Use el siguiente formato similar en su código:
$mongorestore --host databasehost:98761 --username restoreuser
--password restorepwd --authenticationDatabase admin --db targetdb ./path/to/dump/