Fixed push notification auth bug when cloud is used