Update login form for Django 1.6