Using data attribute in body tag to determine authentication url