create a per-user temporary directory for caching files like cookies

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>