Ex-Labour councillor appears in court over ‘Westminster honeytrap’ allegation