js fixes
refactor the configuration script
move base page setup to core modules
delayed auth mech loading for modules
knock out small TODO
remove old TODO
move protocol specific auth classes to the correct modules