I've also been listed on papers just because I was a student intern that conducted a part of an experiment and wrote a few lines describing it. My own paragraphs didn't make it into the published paper but I contributed to the research and was credited for it in the authors list. It does not seem wrong to do that - except if you interpret authoring narrowly as typing things.