Banks have spent fortunes fighting fraud. But this has slowed spending in other areas – and the cracks are beginning to show.