Update to get authentication working properly.