Backwards compatibility for array based XSRF tokens. RE: #2174