Made it compatible with the new Cantrip.special system, so you can now use middlewares before the login and signup responses are sent out