 					}
 					it("should request user token") {
 						expect(matchedLoginURL).toEventually(beTrue())
-						expect(loginBody?["email"]?.toString()).toEventually(equal("test@applivery.com"))
-						expect(loginBody?["password"]?.toString()).toEventually(equal("TEST_PASSWORD"))
+						expect(loginBody?["provider"]?.toString()).toEventually(equal("traditional"))
+						expect(loginBody?["payload.email"]?.toString()).toEventually(equal("test@applivery.com"))
+						expect(loginBody?["payload.password"]?.toString()).toEventually(equal("TEST_PASSWORD"))
 					}
 					it("should request an authenticated download token") {
 						expect(matchedDownloadURL).toEventually(beTrue())
-//						expect(downloadHeaders?["Authorization"]).toEventually(equal("test_user_token"))
+						expect(downloadHeaders?["x-sdk-auth-token"]).toEventually(equal("test_user_token"))
 					}
 				}
 			}
 			context("when ota needs auth but was previously logged in") {
 				var matchedDownloadURL = false
-//				var downloadHeaders: [String: String]?
+				var downloadHeaders: [String: String]?
 				beforeEach {
 					matchedDownloadURL = false
-//					downloadHeaders = nil
-					StubResponse.testRequest(with: "ko.json", url: "/v1/build/LAST_BUILD_ID_TEST/downloadToken", matching: { _, _, _ in
+					downloadHeaders = nil
+					StubResponse.testRequest(with: "ko.json", url: "/v1/build/LAST_BUILD_ID_TEST/downloadToken", matching: { _, _, headers in
 						matchedDownloadURL = true
-//						downloadHeaders = headers
+						downloadHeaders = headers
 					})
 					self.userDefaultsMock.stubDictionary = UserDefaultFakes.storedConfig(
 						lastBuildID: "LAST_BUILD_ID_TEST",

				}
				it("should request an authenticated download token") {
					expect(matchedDownloadURL).toEventually(beTrue())
//					expect(downloadHeaders?["Authorization"]).toEventually(equal("TEST_TOKEN"))
				}
			}
		}

					var matchedLoginURL = false
					var loginBody: JSON?
					beforeEach {
						loginBody = nil
						let email = "test@applivery.com"
						let password = "TEST_PASSWORD"
						matchedLoginURL = false
						StubResponse.testRequest(url: "/v1/auth/login") { _, json, _ in
							matchedLoginURL = true
							loginBody = json
						}
