SONAR-4301 Create queries to select all authorized projects for a user and to select issues id and project ids from issue query