Testing authentication manager