I always try to give people the chance to be reasonable. I'd make a point of stopping and talking to any police that seemed interested in me. I'd do everything that could be done to keep the conversation a level headed exchange between two people, some guy talking to some guy and not police talking to a rule breaker. Rather then trying to play hide and seek I'd ride right up to them and talk to them like a would talk to a peer. With any luck you could free them from their role as a law enforcer and get them acting as a fellow human being. In which case they might get used to you being on the trail at night, be a little more willing to look the other way for a guy they knew and talked to sometimes.
You are not wrong, nor are they. You are just a regular guy trying to get home and they are just some regular guy or girl with a job that requires a uniform. Why with the late hours you both work you probably have some things in common. Yep, no trouble here, just a couple of people that are looking for a the best way to get you home...