[TECH SUPPORT] LPS-41851 Links to Default Site Private Pages do not work if the user is on a non-default locale

Hi Tamás,

Resolution: Shorten URL only in case of public servlet mappings.

Please review my changes.

Thanks,
Ákos