Try "null" as your password, try leaving password blank, and try password in all caps (even if you didn't set it that way).
If none of those work try clearing cache partition by booting to recovery mode (Google search "htc m9 recovery site:hardreset.info") and try the above again.
If that...