LPS-31885

@igorspasic and @brianchandotcom

I think this is the right way to fix it.
I explained in the email.

But I don't really know what's the original problem, and I have no way to reproduce it.

Please check whether this can make the problem go away, if it can, please use this fix, as it is more cleaner.
If the problem still exist, please provide me more detail error info, I will look into it. The fix should not change RestrictPortletServletRequest, it does not make sense.