make old middleware properties configurable

closes #2054