improve Gerrit settings test button for anonymous users

- set query limit to 1 in order to reduce downloaded data