For seborrheic dermatitis, you can use anti-fungicides like Nizoral:
Just don't drink the stuff (as it can lower testosterone levels). Using it on the outside of your head is fine.
Also, the possible side effects from topical corticosteroids you listed are usually associated with very high doses of the stuff, from steroid treatment of asthma and rheumatoid arthritis, or in immunosuppression after an organ transplant.
I don't think that would be a concern from low doses over a short period of time.
The "Seven Deadly Sins"
• Grains (wheat/rice/oats etc) . . . . . • Dairy (milk/yogurt/butter/cheese etc) . . . . .• Nightshades (peppers/tomato/eggplant etc)
• Tubers (potato/arrowroot etc) . . . • Modernly palatable (cashews/olives etc) . . . • Refined foods (salt/sugars etc )
• Legumes (soy/beans/peas etc)