I log what username and password deluge is trying to authenticate with and it tries to use empty values. The auth file contains the correct credentials.
The error is in usr/lib/python2.7/dist-packages/deluge/core/authmanager.py", line 91, in authorize:
core:133 check interval loop starting
[WARNING ] 15:05:49 core:74 seedtime loop starting
[INFO ] 15:05:52 rpcserver:206 Deluge Client connection made from:
127.0.0.1:50460[ERROR ] 15:05:52 authmanager:89 Username not found: u=,p=
[ERROR ] 15:05:52 rpcserver:268 Username does not exist
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/deluge/core/rpcserver.py", line 262, in dispatch
ret = component.get("AuthManager").authorize(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/deluge/core/authmanager.py", line 91, in authorize
raise BadLoginError("Username does not exist")
BadLoginError: Username does not exist
[INFO ] 15:05:52 rpcserver:226 Deluge client disconnected: Connection to the other side was lost in a non-clean fashion: Connection lost.