Adding ability to configure auth_params