BIT-144 User password can be changed to six spaces bugfix

Signed-off-by: Yasen Yankov <iasen.iankov@gmail.com>