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

PHPBB3-12975
Merge pull request #2872 from Nicofuma/ticket/12975

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

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