Updated serialized validation to access and refresh tokens.