Modified CompleteAuthentication to take in token and secret as strings so they can be passed directly from cookies.