Allow specifying if password is required via options.