title: Error with django middleware settings
body: <p>I am using django 1.7 and my middleware settings look like this:</p>
  
  <pre><code>MIDDLEWARE_CLASSES = (
      'django.contrib.sessions.middleware.SessionMiddleware',
      'django.middleware.common.CommonMiddleware',
      'django.middleware.csrf.CsrfViewMiddleware',
      'django.contrib.auth.middleware.AuthenticationMiddleware',
      'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
      'django.contrib.messages.middleware.MessageMiddleware',
      'django.middleware.clickjacking.XFrameOptionsMiddleware',
  )
  </code></pre>
  
  <p>I am using apache2 as my web server. As the settings are, I get a 500 internal server error when I try to access my site. However, when I comment out <code>'django.contrib.auth.middleware.SessionAuthenticationMiddleware'</code>, everything works fine. Is there a related setting I'm missing? The apache error log is as follows:</p>
  
  <pre><code>ImproperlyConfigured: Module "django.contrib.auth.middleware" does not define a "SessionAuthenticationMiddleware" attribute/class
  </code></pre>