Fixing a bug in case user does not use localStorage, enable session cache.