Reset hash on logout to prevent logout