Fix some tests as revealed broken by Wildfly

Expect a notification on password change.
Wait for calls to stop before accessing the docs list.