Clean up code for experiment

- Cleaned some code in MainAuth

- Deleted TestKernel