[feature/auth-refactor] Prevent fatal error in php < 5.3.23

PHPBB3-9734