Fix auth processing.