Fix password reset in console command and lost password controller

- adding default value for $recoveryPassword
- set password correctly in lost password

fixes https://github.com/owncloud/core/issues/9834
fixes https://github.com/owncloud/core/issues/9839