add yet another workaround for stuck login due to session cookies