FIx Deluge localhost authentication discovery.

This hopefully fixes https://github.com/RuudBurger/CouchPotatoServer/issues/2235