Correctly interpret integer amounts on login action preview. Fixes #597.