Corrected some redirection error due to Cookie check failure