Apply patches from Dale to compute sha1 of time the same when client uses XMLGregorianCalendar.
Also, use localName when matching by attribute name since client's
Property.getName().toString() is returning fully qualified name.