fixes for issue #9

at the same time
- if credentials are cached, return failure with message
"CONNECTION_SECURITY_UNKNOWN"
- call expected methods from willSendRequestForAuthenticationChallenge