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

https://tracker.phpbb.com/browse/PHPBB3-12975

PHPBB3-12975