Revert "fix #2039 allow password reset links to work when more than one database on server or in db-filter"

This reverts commit 73c10ccece8d0e2652bbc585f2704debea1c9991.