Fix auth KeyAdapter