Fix auto session disable