Two bug fixes in a package

1. caching with session throws error
2. tags missing for response cache