I have a slightly different setup, but, I use a hot water hose sprayer to get the grain out of the corners, then let my basket fully dry before I put any lids on anything. No moisture == no biological growth.
If I had your issue, I'd spray out the gunk, then fill with full strength PBW and hot...