DSA-55: added middlware line to prod settings