Index: django/contrib/auth/models.py
===================================================================
--- django/contrib/auth/models.py	(revision 6710)
+++ django/contrib/auth/models.py	(working copy)
@@ -51,7 +51,11 @@
     Returns a boolean of whether the raw_password was correct. Handles
     encryption formats behind the scenes.
     """
-    algo, salt, hsh = enc_password.split('$')
+    algo, salt_and_hash = enc_password.split('$', 1)
+    if algo == 'crypt' and salt_and_hash.startswith('$1'):
+        salt = hsh = salt_and_hash
+    else:
+        salt, hsh = salt_and_hash.rsplit('$', 1)
     return hsh == get_hexdigest(algo, salt, raw_password)
 
 class SiteProfileNotAvailable(Exception):
