With the release of AeroGear Security 1.0.1 we got rid of the AeroGearUser type.
This has an impact on code that is login in against it:
The AeroGEarUser has a "username"
This is gone, and the "replacement", the User/SimpleUser from AeroGEar (extends Agent) is using "loginName":
The iOS library needs to reflect this change in here: