Feature/password reset

Fixes #267 
It was failing the test.