[caldav] Fixes following patch review

- Fail authentication if existingIdentity cannot be loaded
- Fail authentication if credentials ID does not exist for the service
- Add default switch handler in CalDavClient::syncFinished()
- Fix copyright headers