Add API endpoint to reset a password

Signed-off-by: David Celis <me@davidcel.is>