Skip authenticate if we are in tests