jaxrs: be more lenient when parsing the account currency

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>