BZ-1054506, BZ-1057188 - Making history REST operations independent of the deployment