set the authentication database to the tool's -d database if it's not specified with --authenticationDatabase; fixes restorewithauth.js