Handle path as value for failure_url parameter in POST to /login/:provider