Authentication middlewares, in Carcass style.