         }
         let origRequest = request.mutableCopy() as! NSURLRequest
         var actualRequest = request
-        if authenticated {
+        if authenticated && getAuthKey() != nil {
             actualRequest = signRequest(request)
         }
         return session.dataTaskWithRequest(actualRequest) { (data, resp, err) -> Void in

            mutableRequest.setValue(httpDateNow(), forHTTPHeaderField: "Date")
        }
        do {
            if let tokenData = try BRKeychain.loadDataForUserAccount(userAccountKey), token = tokenData["token"] {
                self.log("token data \(tokenData)")
                let sha = buildSigningString(mutableRequest).dataUsingEncoding(NSUTF8StringEncoding)!.SHA256_2()
                let sig = getAuthKey().compactSign(sha).base58String()
                mutableRequest.setValue("bread \(token):\(sig)", forHTTPHeaderField: "Authorization")
            }
        } catch let e as BRKeychainError {

    return nil
}

func getAuthKey() -> BRKey? {
    if let manager = BRWalletManager.sharedInstance(), authKey = manager.authPrivateKey {
        return BRKey(privateKey: authKey)
    }
    return nil
}

func getDeviceId() -> String {
