             self.addAuthToken()
         }.then { headers in
             let url: String = API_ROOT + "/Accounts/" + String(parameters["id"] as! Int)
-            return Alamofire.request(url, method: .patch, parameters: parameters, encoding: JSONEncoding.default, headers: headers).validate().responseJSON(with: .response).then { value in
+            return self.sessionManager.request(url, method: .patch, parameters: parameters, encoding: JSONEncoding.default, headers: headers).validate().responseJSON(with: .response).then { value in
                 JSON(value)
             }
         }

            "refresh_token": self.refreshToken!,
        ]

        return Alamofire.request(API_ROOT + "/oauth/token", method: .delete, parameters: parameters, encoding: JSONEncoding.default).responseJSON(with: .response).then { value -> JSON in
            // Reset all static variables
            self.accessToken = nil
            self.accessTokenExpires = nil

        return firstly {
            self.addAuthToken()
        }.then { headers in
            self.sessionManager.request(API_ROOT + "/Account", headers: headers).validate().responseJSON(with: .response).then { value in
                return Account(account: JSON(value))
            }
        }
