Mean-field study of $^{12}$C+$^{12}$C fusion