with --cookies-file and check for login