All perfect praise be to Allaah, The Lord of the Worlds. I testify that there is none worthy of worship except Allaah, and that Muhammad, sallallaahu ʻalayhi wa sallam, is His Slave and Messenger.
We do not know about the story to which you have referred in the question. Many of the stories told about the Karaamaat (marvels) of Allaah's Awliyaa’ (friends) may not be true and are in fact lies and fabrications, especially those cited in the writings of the late Sufi scholars such as the Tabaqaat of Ash-Shaʻraani, the Tabaqaat of Wadd Dhayfullaah and the like. In fact, some of those false stories oppose the teachings of the Islamic Shareeʻah to begin with, and the pious people about whom these false stories are tailored may have nothing to do with what is attributed to them.
In any case, the scholars’ statements about the explanation of the sweetness of faith indicate that it is a spiritual sweetness, and not a tangible one that the person finds on his tongue like the sweetness of food and drink. Al-Haafith Ibn Hajar wrote, “The expression "sweetness of faith" comprises a loose metaphor; it likens the believer's desire for faith to something sweet.” [Fat-h Al-Baari]
An-Nawawi wrote, “Scholars explained that "sweetness of faith" means finding pleasure in performing acts of worship and righteous deeds, joyfully enduring the hardships in order to earn the pleasure of Allaah and His Messenger, sallallaahu ʻalayhi wa sallam, and favoring that to all worldly pleasures, while having love for Allaah and translating that love into obedience to Him, avoiding disobeying Him and loving His Messenger, sallallaahu ʻalayhi wa sallam.” [Sharh Saheeh Muslim]
Al-Munaawi wrote, “The sweetness of faith means finding pleasure and joy in obeying Allaah, enduring hardships in order to earn His pleasure and that of His Messenger, and favoring that to all worldly pleasures.” [Faydh Al-Qadeer]
Allaah Knows best.