Line urged people to change their passwords as Japanese police investigated the hacking of hundreds of accounts.