Handle error if old 'authorization' is not passed as a function