Unable to run Safaridriver --enable in CircleCI

I’m trying to run Web UI tests on Safari. To enable ‘Remote Automation’, I have to run
safaridriver --enable in Terminal.
Config.yaml looks like this:

However, when CircleCI reaches this step it hangs for awhile and then fails because it asks for a password.

Too long with no output (exceeded 10m0s): context deadline exceeded

Any advice on how and which password to enter in this case?..
Thank you in advance!