Fix set_doku_pref cookie date and value