Constructs preauth url