[feature/oauth] Fix a bunch of errors in oauth.php

PHPBB3-11673