Default password throws NPE when not set

In the configuration page, if the default password is not set a NPE will be thrown.

Also added some excludes for intellij.