Co-authors may be involved in design, development of the coding system, refinement of questions, and statistical analyses.
This is the slippery slope that can lead to inappropriate coauthorship - i.e. a creative, lower level person does all the word and the supervisor becomes an inappropriate coauthor.
I'm not sure why the above is a "slippery slope". The issues listed all seem like valid reasons for being a co-author.
Here is another issue - in my field it is common to be asked to write chapters for books which summarize our labs area of research (as well as related areas). What should be the rules for determining co-authorship on these chapters? My advisor's view is that if you had significant contributions to the research being discussed that came out of our lab, you will be a co-author somewhere on the chapter. Of course the more you contribute to the actual writing of the chapter, the further up on the author list you will be. I can see arguments for and against this practice, but I am curious as to what others think.