Fixed session initialization... hopefully.