Added SessionAuthenticationMiddleware to settings