Make easier to recover from JSON credential download error

See http://trac.zentyal.org/ticket/7516 for details