Mega with built in ESP8266 OTA

I've tried all possible password and username possibilities with and without ""
Unless the passwords match with the syntax I'm using it will fail at the flashing stage.
Only when they are as I have them does the flash succeed and lead onto an authorisation failure.
Flashing sketch ... done
Error flashing the sketch:Unauthorized

Is there something clever with the optiboot flashing that I've missed? Could there be something in the sketch it doesn't like? Are there security settings on my wifi that intefere? Has anyone suceeded with OTA with this robotdyn-mega-onboard-ESP8266?