Rework auth config loading and use of auth data for login/pull/push

Signed-off-by: Maxime Petazzoni <max@signalfuse.com>