My own hypothesis is that sweating helps the system get rid of heavy metals, which seem to play a part in dementia (e.g. aluminum > Alzheimer).
Sauna is definitely anecdotally good for many skin conditions including fungal infections (my cite is only my own life).