Added check for v2 URL + differentiated between v1/v2
Added check for v2 URL + differentiated between v1/v2

lizardsystem/lizard-auth-client,lizardsystem/lizard-auth-client,lizardsystem/lizard-auth-client