Fix login cookies expiring too quickly