The php-saml library use its own logic to determine the current path, and we need to set the use_proxy_vars so that it respects the proxy FORWARDED headers.
This should fix issue #436
Now it matches the documented value and follows the naming schema. The old env name is still valid, to maintain backwards compatibility.
Fixes issue #339