fix for NPE when PentahoPluginEnvironment called SecurityHelper.hasAccess() with a null userSession