Password recovery

Adds password recovery to the API