Disable block on local requests when testing ajax. #2873