Authorization library fix