Ported Authorization example to v4.0