replace Grant HTTP handler in one test