auth_httpcookie: Timeout cookies after a year. Also increases the username and password length limits to ~164 characters. Fixes the remainder of [bug 4001 (#4001)].