Added port config and basic authentication