Test csrf.
Added redirect middleware. test csrf middleware.