Fix various errors in config module
Rename getters
Improve the config modules

Reduce pattern matching, and use into_owned
Fix Authentication enum
Add constructor for BasicAuth enum
Add CLI utility functions
Ask for username and password