CAS-1286: Extract the OAuth client support in its own module and upgrade to pac4j

Handle properly required additionnal HTTP action from pac4j