Rework WSL admin interfaces to make them extensible

add Tools tab
add debug mode
log auth action to files
plus a bit of clean up here and there