Fix Keystone authentication

- Use of urlparse
- Allow empty option in config file