Handle auth.