Fix test mail behaviour

* ref #8854
* prevent default of "send test mail" button
* drop unused form serialization
* use display name of user for test mail


cc @nickvergessen