Convert verify csrf token to class.

Signed-off-by: crynobone <crynobone@gmail.com>
Prepare v2.1.14 release.

Signed-off-by: crynobone <crynobone@gmail.com>