According to the debug logfile, the Kix script is running fast. The delay must then be before -> the script call. The slow login is therefore no Kix problem. Thank you guys for your help.
Greetings Roger