Revamp CredentialServiceProvider with HttpFoundation\Request.