LPS-42087 Fix, if checking portlet mode with p_p_mode parameter, also  p_p_id has to be checked