LPS-39799, LPS-39793

Hi @rotty3000,

this fix should prevent exceptionally displayed portlets to create preferences, i.e. register themselves as embedded 

This means that new portlet preferences won't be created by:
1, undeployed portlets
2, on-demand portlets - invoked using p_p_auth

Undeployed portlets should already have portlet preferences created.

Portlets invoked using p_p_auth token should not be then accessible without the token.

Thanks.