1370 Prettier errors and tests for change user name

https://code.google.com/p/otwarchive/issues/detail?id=1370