…upport both database and authenticationDatabase options

Comment From: wilkinsona

Thanks for the PR, @mikebski. Unfortunately, as indicated by the assignment of #35567, @scottfrederick is already working on this one.