Update custom CSRF implementation example.

Following the example I noticed that the validate_csrf_token method signature is incorrect and so is the import.