Added JUnit test for password reset (for completeness)