Fix the fake authentication of a device
Fix the fake authentication of a device

This patch fixes the bug where a retry of an authentication process
shows "Authenticated already" message but the authentication is in
progress.

CESARBR/knot-service-source,CESARBR/knot-service-source,CESARBR/knot-service-source,CESARBR/knot-service-source,CESARBR/knot-service-source