add test for password remove method
Merge pull request #7065 from owncloud/errorHandler_tests

add test for the password remove method