Add pre-authentication capabilities for testing, move login checkers to base