MB-5307 Handle colon in passwords correctly.

Change-Id: Id9f23a8f3a58906c1fc393f0469d5d27d3d6663d
Reviewed-on: http://review.couchbase.org/24999
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>