Reimplemented authentication + reusable test server
cleanup