rework login on checklockfile

Signed-off-by: Nathan Van Overloop <nathan.van.overloop@nexperteam.be>