Fixed push notifications and login in iOS app.