Added session middleware for django 1.5/1.4