Since in python an empty string evaluates as falsy, let's instead

``if not options.username or not options.password:``