Fixes NPE with focus password is not supplied.