Fixed url problem with auth