Disallow empty credentials
more unittests