Removed the gmail account from ICal. Shut the computer down for the day. next day restarted the iMac.
Went into iCal and added the gmail account. Calendar could be added without problems.
Don't know what corrected the problem. In any case the Google CadDav is accepting the password and iCal synchronizes again. Not very satisfying not to know what happened but glad things work again.