Extract login management into LoginDef.jsCheck that COOKIE_DURATION is a valid number
View differences
Extract login management into LoginDef.js
Check that COOKIE_DURATION is a valid number