[ticket/12975] Fix the construction of phpbb\auth\provider\db for Oauth

PHPBB3-12975