Authenticate through conditions.