set cookies maxage to 1 hour to fix Safari bug