Issue #2936435 by Berdir, alexpott: Better BC for deprecated container parameter user.tempstore.expire (cherry picked from commit 0325ab60)