#3 get the authorisation type (guest or basic auth) from configuration