Steps to reproduce:
1. Login as admin:opencast
2. Create another user test:test
3. Login as test
4. Login as admin:opencast again
5. Create a capture agent "test"
6. Delete the capture agent "test"
7. Login as test:test
You cannot login as test:test because the password "test" is not valid anymore.
Deleting a capture agent should not reset the passwords of users.
Workaround (if any):
Do not delete capture agents