fix http session init