Joint authentication and forward error correction of still images