Allow disabling rc middleware.

Useful for the test environment.
1.0.2