ecfd55 Fix checking if the user is authenticated

Authored and Committed by Pierre-Yves Chibon 7 years ago
    Fix checking if the user is authenticated
    
    Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>