I am using IDE version 2.2.1 which has a known bug regarding OTA credentials https://forum.arduino.cc/t/arduinoota-password-popup/1176234
ptillisch suggests using a nightly build or waiting for the next production release of Arduino IDE. So I was wondering when the net released is planned, if its in a few weeks I can wait otherwise I will start using a nightly build which is something I haven't done before.