Date one-liner and empty password handling