add support for empty password