If there is no authenticationData then the if !Ok is never run and the code continues execution as it were authenticated.