django registration bug fix