The source of a mystery oil leak that plagued a market town with fumes for the past week has been found, Shropshire Council has said - but residents say the stench is still lingering.