This isn't about Assange trying to crack a password this is about punishing Assange for journalistic work he did. Since such journalism is not a crime in itself they have found some other minor crime which they can make a federal case out of.
Yes, this is another example of a dual-track justice system. Note how CIA officers aren't prosecuted for hacking the Senate [1, 2], but an activist is indicted for allegedly failing to decrypt some files.