[ticket/11233] Use condition user_id > 1 to check for valid user

PHPBB3-11233