Elon Musk accuses Twitter of security lapses in court filing