MB-11987:Disallow too long a password

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