Fix server error when my_user contains garbage.