Make auth module use EventTypes constants
Remove unused imports