fixed Issue 1165:auth.signature: unable to reset is_active to true, thanks Ricardo