Fixed problem with sessions being created on every request.