Fix crash on resource shutdown
This was caused by the auth handler object being destroyed twice (once
when its parend - EwsSettings was destroyed, once when the main
resource object was destroyed). Obviously the second destruction
caused destruction of the whole resource (SIGSEGV).
Fix this by assigning a proper parent to the newly created auth
handler object.