csrfguard: improve performance.