Fix auth key bug introduced in last change