I see that in vendors/fof/masquerade/src/Middleware/DemandProfileCompletion.php
theres a verification
$this->url != (string)$request->getUri()
In normal instalations it works fine, but when we install in subfolder
$this->url
returns the correct value: domain.com/forum/masquerade/configure
but $request->getUri()
returns incorrect value domain.com/masquerade/configure
Not sure how to resolve this.