Fix the use of globals in ApiQueryTitleBlacklistTest

Change-Id: I5461277f06f336142f2de0aaf122a8ea767d74a4
Merge "Fix the use of globals in ApiQueryTitleBlacklistTest"