Minor whitespace fixes in Auth plugin
Fix initialisation of plugins in Factory mode