[IMP] http.py: Make it possible to implement a new authentication method for the routes