Setup authentication system.