MB-11987: Disallow too long a password

Change-Id: Ibcf83562c521b61ac4ebbed3f3e3bc31652eef67
Reviewed-on: http://review.couchbase.org/43058
Reviewed-by: Bin Cui <bin.cui@gmail.com>
Tested-by: Bin Cui <bin.cui@gmail.com>