Issue #153: Add callback for when authentication is cancelled