enable session writing for oauth user