In order to use the .htaccess rewrite rules you'll need to inlcude
the appropriate AllowOverride in your apache site config.
Introduces new configuration options $target_rest4 (URL to API4
endpoint), authx_internal_flow, and authx_external_flow
(both of which are explained in config.dist.php). Note that this
commit only supports authx flows on API4 requests.
Fixes#66