Fix logout on password change in Django 1.7+

Fixes #143.

For more information:
https://docs.djangoproject.com/en/1.7/topics/auth/default/#session-invalidation-on-password-change
Merge pull request #150 from PersonalGenomesOrg/fix-change-password-logout

Fix logout on password change in Django 1.7+