This change is required after the introduction of SessionAuthenticationMiddleware to the default middleware Backport of 6923fdbbf1 from master
This change is required after the introduction of SessionAuthenticationMiddleware to the default middleware Backport of 6923fdbbf1 from master