Setup the server and auth endpoint