A tip off from a farmer returning from a party in the early hours has helped British police foil a would-be alleged terror plot on a US air base.