Former cop on trial in sex regi­stration case