Fixed a problem where user cookie ttl wasn't setting from config values