Fix tests.

* database secrets error
* password_reset & mailer wrong paths