Authentication manager core.