Reverse proxy authentication option

Adds an option to delegate the authentication to a reverse proxy, that passes the login through an HTTP header. By default, this header is the classical Apache's REMOTE_USER.

This option must be used with caution, and only if the app is behind a secured reverse proxy. Otherwise, anyone setting the HTTP header could access the application.