Session not being persisted in test. Need to find out why.