WebUI: Some changes

Set cookies expiration time to 10 years.