FIX: Regression for works without original texts.

Introduced by 179098d.
FIX: Login shows user info also for admin.

Couchdb strangely doesn't send back the username (but `name==null`) in response
to the POST request as it does for other users.
FIX: Several small issues in session management (work page).

  * prevent identified users' identity stealing by anonymous users
  * store anonymous information in history, and display on screen
  * stop unwanted auto re-entering the translation when closing the page
  * switch between anonymous/identified better handled
  * limit the use of colors to avoid same color for 2 users
FIX: Anonymous users can provide a customised name.
FIX: Trailing spaces bug in version names.

Was causing strange behaviour like new colomn creation on version rename/update
(probably by some unexplained auto trim from client side).
Trim is done by default server side, for safety.
Includes a auto correct loop for existing buggy works.