Make it compliant with hashers module changes in django 1.6