Make sure that incorrect ssh key encodings don't cause bad keys to be added to authorized_keys.

This patch ensures that if someone accidentally typos their key information (such that the key encoding identifier is no longer valid) we won't add a key to the authorized_keys file.  The minion should throw an exception with a clear message.