ALPHA-696 modifying to add auth from old API (pub/priv key)