Refactor find_first_by_auth_conditions