Update DelegationExists & GetAuthorizationCode methods to check Scope/Permissions