UK council ‘thwarts ransomware attack’