Added support for not defining a share password

Signed-off-by: Samuli Seppänen <samuli.seppanen@gmail.com>