Null checking for password entering.