OJS-42 Fix password reset function to use proper encryption