Add API for password reset.

BB-423 #resolve
Merge pull request #382 from benkonrath/password-reset

Add API for password reset.