Fix bug in getting ali app key.