added error attribute for find_with_login_instead_of_default