Fixed authentication, general renaming of unused terms/variables module -> plugin