I read somewhere to change the following property in portal-ext.properties:
1redirect.url.security.mode=domain
This solved my other problems (related to sessions) due to Clustered enviornment, but not the issue for which I started this thread.
Hope it helps somebody out there.
Firmi prego dentro per inbandierare questo come inadeguato.