[feature/oauth] Fix redirects

PHPBB3-11673