Fix DEVKIT-790 for rest API with BasicAuth