Check pipeline configuration

Swift3 doesn't work if we don't have auth middleware in the wsgi pipeline.
This patch checks that the mandatory middleware is present.

Change-Id: Ib492ecbfd81221b9a0ea6cf30dc5d3128d9841e7
Merge "Check pipeline configuration"