The mind still boggles. If I was even asked by a client to put a password reset in analytics, I would report it to my manager immediately, then refuse the client's request. If the client didn't give up on tracking this, we'd have to stop working for them. That's how serious raw PII is in analytics.
You'd have to be seriously incompetent to even consider tracking a password request.
I think that situation was probably just sloppy coding of some sort, not an intentional act.
The data is present in the URL (queryString) for the page, so there is nothing malicious about the analytics code, which is merely going about it's default of reporting the URL of the page.
Returning that sort of data in a queryString is still far outside the realm of common sense.