LPS-43575 Allow reading portal wide preferences

This pull is related to https://github.com/brianchandotcom/liferay-portal/pull/17150