[webui] don't crash on accepting broken sources
[api] restore default for maintenance ID template again