Make easier to recover from JSON credential doenload error

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