check if the provided password is really the current log-in password
Merge pull request #11993 from owncloud/enc_repeat_password

[encryption] check if the provided password is really the current log-in password