Finalizing API authorization.