Improve charmd options handling. Renamed the http basic auth realm.