Remember user choice for codename length on subsequent requests

Fixes #654