Only prompt authorization when required.