All,
Eventually resolved this. The webpage had been developed only to recognise user credentials of a particular size which was fine for users in Domain B but users in Domain A had longer user names so the webpage did not like it. This part of the webpage was not programmed to return an error code either!!
The only thing to do with good advice is pass it on. It is never any use to oneself.