[1.7.x] Added RemoteUserMiddleware to middleware reference page.

Backport of 465980d070 from master