test authentication and identity