Finite temperature canonical treatments in the static path approximation