Added versionadded annotations for redirect middleware attributes.

refs #19321