I’ve got the same problem on my iPhone. It worked the other day, but now it keeps failing.
If I enter the wrong username/pass I get a different error, so it is something that happens after it has validated the password. I have tried reinstalling the iPhone app.
If you login to www.spark.io/build , and click on the settings gear in the bottom left corner, and then “RESET TOKEN”, and then try logging in / out of the mobile app, does it still happen? – This is certainly not the intended way this is meant to work, I think this would qualify as a bug in the ios app if that fixed it.