Adding password recovery API.