Check that a user exists before running tasks on them
Fixed an exception when a valid CAS user without local access tries to sign in