fixing python logout url