Fixes #19

check if the password is empty
We should stay consistent with `;` usage... either use them everywhere (in javascript) code or nowhere. We agreed not to use them for qml lineendings... @bjorn: How should we handle javascript functions?

The code above is inconsistent too...