add authentication interceptor.

Signed-off-by: Flycoding <Flycoding@yeah.net>