add query-param-auth
autoselect port