[feature/oauth] Fix token storage after sql changes

PHPBB3-11673
[feature/oauth] Fix OAuth after schema changes

PHPBB3-11673