Added immediate logout after each login  as proposed by Ulf Haase - now manual login is possible between script requests