You're looking at it backwards. The case with ##k## constant is a pure de Sitter spacetime, just dark energy (aka cosmological constant), no matter or radiation at all. This is the "pure" case of "accelerated expansion". Adding matter or radiation makes ##k## not constant, and may take away the acceleration, depending on the relative densities of matter/radiation as compared to dark energy. Until a few billion years ago, the density of matter in our universe was high enough that the expansion was decelerating, not accelerating.
Up until the late 1990s, cosmologists thought the expansion of our universe was decelerating now because they thought there was zero dark energy. That decelerating solution is the original one that Hubble's evidence was taken to support. What changed in the late 1990s was that evidence was discovered that the expansion of our universe is accelerating now, and had been until a few billion years ago. That required adding nonzero dark energy to our best current model in order to account for the data.