Add integration test to check flash cookie removal (close #139)