Fix to make ZF1 sessions work