Updating the node DB while using authentication

- Fix described in bnc#889967 comment #10