fixing obvious sanity check - doh
Merge pull request #57 from theVolary/master_rejectUnauthorized

fixing obvious sanity check - doh