Fixed key enabling/disabling code for OATH auth