As Tanzania gears up for their fourth appearance at the Africa Cup of Nations — and their second in a row — a renewed sense of confidence is spreading through the nation’s football community.