vncserver: rewrite initial vnc password generation