django.contrib.auth

See User authentication in Django.