`getCodebasePrincipal` has been deprecated in favor of `getNoAppCodebasePrincipal`