accounts: template string formatting fixes

Signed-off-by: Adrian-Tudor Panescu <adrian.tudor.panescu@cern.ch>