Fix a security issue of use browser back button after logout.