Authetication token validation.