Ok thanks for the info. That case seems to be about if you can be charged with a crime if you refuse to reveal your password with a search warrant. While the case for this article seems to be about whether refusing to give a passcode when questioned by police can be used in court against you.
My “of course” comment above was about refusing police questioning (Miranda rights). not refusing a search warrant. That does seem like a much trickier issue.
Edit: added the clarification about Miranda rights