Version 3.1.0
Report the chttpd_auth authentication db in session info (#2823)

Currently, result of GET `/_session` reports the `authentication_db` of
the obsolete admin port 5986. This updates it to report the actual db
used for authentication, provided it is configured. Otherwise, it omits
`authentication_db` entirely from the session info.

(cherry picked from commit 1e9d0e3c1828d828bb3e8efdbbbd2e348ff518f2)
3 files changed