Truncate useragents passed to the CSRF persistence to cap character count
An issue raised in membership exposed a potential issue with CSRF token generation and storage where the token may fail to parse and kill requests when the user agent is larger than the storage column. Rather than increase the column size, we will truncate the data as this isn't used for any sort of tracking or information gathering, but for better session matching/security.