Updates to loginBF() to support self signed SSL certificates.