Add support for basepath in plugins, add support for authentication in plugins