[feature/api] Updated auth unit test to use serials

PHPBB3-11595