The "lost password" field depends on OC_USER_BACKEND_SET_PASSWORD

so it should only be visible for users with a supporting backend.
Merge pull request #3488 from zafi/master

The "lost password" field in the personal setting depends on OC_USER_BACKEND_SET_PASSWORD