[feature/oauth] Function to update user_id of a token

PHPBB3-9734