Fix issue that disabled Username/Password authentication

`auth.token.empty?` was raising a `NoMethodError: undefined method `empty?' for nil:NilClass`

Also, those lines didn't allow connection with a Username and Password.

```RUBY
if auth.token.empty?
  raise "You should pass a token for authentication"
end
```