app: remove some dead code
auth: remove dead code
api: remove some dead code
api: remove more dead code
api: more dead code removal

I can do it all day long :-)
app: remove unused file
testing/smtp: move code used only in tests to test files
provision/docker: remove unused function