Fixed erroneous test (logged in while not necessary)