Bug fixes for the PushNotification authorization flow