 					}
 					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 ask for login again") {
 						expect(self.appMock.spyLoginView.called).toEventually(beTrue())

						let email = "test@applivery.com"
						let password = "TEST_PASSWORD"
						matchedLoginURL = false
						StubResponse.testRequest(with: "login_success.json", url: "/api/auth") { _, json, _ in
							matchedLoginURL = true
							loginBody = json
						}

					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
						}
