Password reset functionality fixed for Django 1.7