Changing from header auth to param auth