[ticket/11872] Template syntax typos in oauth templates

This PR is small version of https://github.com/phpbb/phpbb/pull/1738 that includes only bug fixes.
http://tracker.phpbb.com/browse/PHPBB3-11872