Added teardown to reset request_forgery_protection_token and added ensure blocks